﻿package dao;

import java.sql.SQLException;
import java.util.List;

import model.Book;

public interface BookDao {
	//获取所有书籍信息
	List<Book> getAllBook() throws SQLException;
	
	//管理员添加书籍
	boolean addBook(Book book) throws SQLException;
	
	//管理员删除书籍
	boolean deletebook(Book book) throws SQLException;
}
